package com.aaa.service;

import com.aaa.dao.HeadDao;
import com.aaa.pojo.HeadUrl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Classname HeadService
 * @Description TODO
 * @Date 2020/12/11 10:34
 * @Created by 腾飞
 */
@Service
public class HeadService {
    @Autowired
    private HeadDao headDao;

    public HeadUrl queryHeadByName(String url){
        return headDao.queryHeadByName(url);
    }
    public void insertHead(String url){
        headDao.insertHead(url);
    }
}
